//
//  Login.h
//  Speedater
//
//  Created by NgoThang on 12/28/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface Login : UIViewController <UITextFieldDelegate, MBProgressHUDDelegate>
{
    BOOL keyboardIsShown;
    NSMutableData *responseData;
    MBProgressHUD *HUD;
}

@property (nonatomic, retain) IBOutlet UIScrollView *myScrollView;
@property (nonatomic, retain) IBOutlet UITextField *usernameTextField, *passwordTextField;
@property (nonatomic, retain) IBOutlet UIButton *loginButton, *registerButton;
@property (nonatomic, retain) IBOutlet UILabel *forgotPasswordLabel;

- (IBAction)loginButtonClick:(id)sender;
- (IBAction)registerButtonClick:(id)sender;

- (void)forgotPasswordLableClick:(id)sender;
- (void)keyboardWillHide:(NSNotification *)noti;
- (void)keyboardWillShow:(NSNotification *)noti;

@end
